.c-lecturer-chapter-container {
  .c-lecturer-chapter-left,
  .c-lecturer-chapter-right {
    padding: 20px;
  }
  .c-lecturer-chapter-left {
    width: 340px;
    border-right: 1px solid #3d5d8d;
  }
  .c-lecturer-chapter-right {
    flex: 1;
    .c-lecturer-chapter-right-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
      color: #7688a5;
      font-weight: 400;
      font-size: 12px;
      font-family: PingFangSC-Regular, PingFang SC;
      > a:last-child {
        color: #fff;
      }
    }
  }
  .c-lecturer-chapter-header {
    display: flex;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 1px 0 0 #3d5d8d;
    > span.c-lecturer-chapter-left,
    > span.c-lecturer-chapter-right {
      padding-bottom: 10px;
    }
  }
  .c-lecturer-chapter-body {
    display: flex;
    align-items: center;
    > div {
      height: 366px;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 4px;
      }
      &::-webkit-scrollbar-thumb {
        background: #e7e7e7;
        border-radius: 4px;
      }
      &.c-lecturer-chapter-left {
        .ant-btn {
          width: 100%;
          height: 35px;
        }
      }
    }
  }
}

.c-lecturer-chapter-item {
  margin-bottom: 12px;
  padding: 12px 10px;
  font-size: 12px;
  background: #36598e;
  border-radius: 4px;
  cursor: pointer;
  &:hover {
    background: #47699d;
  }
  &.c-lecturer-chapter-item-active {
    position: relative;
    background: #426cae;
    &::after {
      position: absolute;
      top: 50%;
      right: -8px;
      width: 13px;
      height: 34px;
      margin-top: -17px;
      background: url('./active.png') no-repeat center / 100%;
      content: ' ';
    }
  }
  .c-lecturer-chapter-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    img {
      width: 19px;
      height: 19px;
    }
  }
}
.c-lecturer-chapter-card-container {
  display: flex;
  flex-wrap: wrap;
  // justify-content: space-between;
}
.c-lecturer-chapter-card {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 80px;
  height: 30px;
  margin-bottom: 10px;
  padding: 0 6px;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  font-family: PingFangSC-Regular, PingFang SC;
  background: #36598e;
  border-radius: 4px;
  &:nth-child(3n - 1) {
    margin: 0 14px;
  }
  &.c-lecturer-chapter-card-add,
  .c-lecturer-chapter-card-close {
    cursor: pointer;
  }
  &.c-lecturer-chapter-card-add {
    &:hover {
      background: rgba(37, 77, 248, 0.3);
    }
  }
}
